package top.tangyh.lamp.care.vo.result;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import static top.tangyh.lamp.model.constant.Condition.LIKE;

@Data
public class Hl7RkDetailOutVO {

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "患者识别号")
    private String patientIdent;

    @Schema(description = "住院号")
    private String hospitalNumber;

    @Schema(description = "病人姓名")
    private String patientName;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "性别,0其他1男2女")
    private Integer gender;

    @Schema(description = "床号")
    private String bedNumber;
    /**
     * 入科时间
     */
    @Schema(description = "入科时间")
    private LocalDateTime rkTime;

//    @Schema(description = "结束时间  ")
//    private LocalDateTime endTime;


//    @Schema(description = "入科时间")
//    private LocalDateTime startRkTime;
//
//    @Schema(description = "结束时间  ")
//    private LocalDateTime endCkTime;
    /**
     * 收治来源
     */
    private String szFrom;

    private String deptIdent;

    @Schema(description = "科室")
    private String deptName;
    /**
     * 主治医生id
     */
    private String zzDoctorIdent;
    /**
     * 主治医生名称
     */
    private String zzDoctorName;
    /**
     * 责任护士id
     */
    private String nurseIdent;
    /**
     * 责任护士名称
     */
    private String nurseName;

//    @Schema(description = "诊断名称")
//    private String zdName;

    @Schema(description = "护理等级")
    private String nursingLevel;

//    @Schema(description = "下次入科时间  ")
//    private LocalDateTime ckTimeA;

//    @Schema(description = "出科时间  ")
//    private List<LocalDateTime> zrTime;

    @Schema(description = "出科时间  ")
    private List<LocalDateTime> ckTime;

    @Schema(description = "出院时间  ")
    private List<LocalDateTime> eventTime;

    @TableField(value = "measures", condition = LIKE)
    @Schema(description = "入科诊断内容")
    private String measures;

//    @Schema(description = "护理等级")
//    private String nursingLevel;
}
